package com.bmf.module.examination.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel
@AllArgsConstructor
public class ExaminationResultsCreateVo implements Serializable {

    @ApiModelProperty(value = "考试id")
    private Integer testinfoId;

    @ApiModelProperty(value = "试卷id")
    private Integer examinationId;

    @ApiModelProperty(value = "考试次数")
    private Integer frequency;

    @ApiModelProperty(value = "试题")
    private List<BigQuestionTestPaperResultVo> bigQuestionTestPaperResultVos;

    @ApiModelProperty(value = "考生姓名")
    private String studentName;

    @ApiModelProperty(value = "0：正常考试1：免登录考试")
    private Integer type;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

}
